package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class FriendshipBase{
	boolean[] modified=new boolean[3];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public FriendshipBase(){}
	public FriendshipBase(java.lang.Long userId,java.lang.Long friendId,java.lang.Integer relationship){
		setUserId(userId);
		setFriendId(friendId);
		setRelationship(relationship);
	}
	public void setUserId(java.lang.Long userId){
		if(userId!=null) {
			set("userId",userId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getUserId(){
		return (java.lang.Long)get("userId");
	}
	public void setFriendId(java.lang.Long friendId){
		if(friendId!=null) {
			set("friendId",friendId);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getFriendId(){
		return (java.lang.Long)get("friendId");
	}
	public void setRelationship(java.lang.Integer relationship){
		if(relationship!=null) {
			set("relationship",relationship);
			this.modified[2] =true;
		}
	}
	public java.lang.Integer getRelationship(){
		return (java.lang.Integer)get("relationship");
	}
}
